<!-- js call TinyMCE -->
<script type="text/javascript">
	call('description');
	call('address');
</script>

<!-- js validate form  -->
<script type="text/javascript">
$(document).ready(function() {
	$("#add").validate();		
});	
$.metadata.setType("attr", "validate");
</script>
            <div class="header2">
                <p class="pHead"><?php echo $title;?></p>
                <img src="images/icon/back.png" class="iconBack" alt="icon" />
                <span class="back"><a href="#">Quay lại trang trước</a></span>
            </div>
            
            <form method="POST" action="<?php echo base_url();?>back_end/partner/add" name="add" id="add" enctype="multipart/form-data">
            <div class="contentMain">
            	<div class="contentSearch">            	
            	<table class="tableSearch">
                	<tr>
                    	<td class="tdSearch">Tên đối tác:</td>
                    	<td class="tdSearch2"><input type="text" class="required inputText" id="name" name="name"></td>
                    </tr>
                	<tr>
                    	<td class="tdSearch" style="vertical-align: top;">Mô tả:</td>
                    	<td class="tdSearch2">
                    		<textarea id="description" name="description" class=" textArea1"></textarea>
                    	</td>
                    </tr>
                    <tr>
                    	<td class="tdSearch" style="vertical-align: top;">Địa chỉ:</td>
                    	<td class="tdSearch2">
                    		<textarea  id="address" name="address" class=" textArea1"></textarea>
                    	</td>
                    </tr>
                    <tr>
                    	<td class="tdSearch">Số điện thoại:</td>
                    	<td class="tdSearch2"><input type="text" class="required inputText" id="phone" name="phone"></td>
                    </tr>
                    <tr>
                    	<td class="tdSearch" style="vertical-align: top;">Ảnh đại diện:</td>
                    	<td class="tdSearch2">
                    		<input type="file" class="required" id="images" value="" name="image">
                    	</td>
                    </tr>
                    <tr>
                    	<td class="tdSearch">Trạng thái:</td>
                    	<td><input type="checkbox" value='1' name="status" class="inputCheck"></td>
                    </tr>
                	<tr>
                    	<td class="tdSearch">&nbsp;</td>
                    	<td class="tdSearch2">                        	
                            <div class="searchbutton">
                                    <input type="submit" class="buttonSM" value="Add" name="addForm" />
                            </div><!-- end searchbutton -->                      	
                            <div class="searchbutton searchReset" >
                                    <input type="reset" class="buttonSM"  value="Reset" name="reset" />
                            </div><!-- end searchbutton -->
                        </td>
                    </tr>
                </table>
            </div><!-- end contentSearch -->
            </div><!-- end contentMain -->
            </form>